package com.hds.modules.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.hds.common.utils.PageUtils;
import com.hds.modules.app.entity.ActivationCodeEntity;
import com.hds.modules.app.entity.UserEntity;
import com.hds.modules.sys.entity.dto.ActivationCodeDto;

import java.util.List;
import java.util.Map;

/**
 * @Author guonan
 * @Email guonan@yewcn.com
 * @Description
 * @Date 2018/6/11 10:26
 */
public interface ActivationCodeService extends IService<ActivationCodeEntity> {

    public List<ActivationCodeEntity> queryByCompanyId(Integer companyId);

    public String queryMaxCardNo(Integer companyId);

    public ActivationCodeEntity queryByCode(String code);

    public Integer queryMaxBatchByCompanyId(Integer companyId);

    public PageUtils queryPage(Map<String, Object> params);

}
